<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2018/7/28
 * Time: 10:42
 */

    echo date('Y-m-d H:i:s') . '执行定时任务!';

    $data = [];
    $data['money'] = 2;
    $data['amount'] = 5;
    $data['x_date'] = date('Y-m-d H:i:s');

    M('xml')->add($data);
